/*
 * Copyright (c) 2017. All  rights reserved.
 * 项目名：microservice-base
 * 文件名：AccountCredentials.java
 * Date  ：17-11-17 下午5:19
 * Author：abin
 *
 */

package com.stadium.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;


@Data
@ApiModel(value = "登录参数")
public class LoginVo implements Serializable {
    private static final long serialVersionUID = 1L;
    @NotBlank(message = "登录账号不能为空")
    @ApiModelProperty(value = "登录账号",required = true)
    private String loginName;
    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(value = "密码",required = true)
    private String password;
}
